package com.dcms.admin.dao;

import com.dcms.admin.bean.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    User selectByUsernameAndPwd(Map map);

    List<User> selectAll(Map map);

    int deleteBatch(Integer[] id);
}